package workflow

import (
	"zstackgo/pkg/header/errorcode"
)

type FlowContextHandler interface {
	GetJobUuid() string
	SaveContext()
	Cancelled() bool
	GetCancelError() *errorcode.ErrorCode
	SkipRollback(errCode *errorcode.ErrorCode) bool
}
